import request from '@/utils/request'
/**
 * 获取直播预告列表
 * @param params
 * @returns {*}
 */
export function getLivePortendListApi(params) {
  return request({
    url: '/getLivePortendList',
    method: 'GET',
    params
  })
}
/**
 * 获取所有企业
 * @param params
 * @returns {*}
 */
export function getComListApi(params) {
  return request({
    url: '/getComList',
    method: 'GET',
    params
  })
}
/**
 * 获取企业下HR
 * @param params
 * @returns {*}
 */
export function getComUserListApi(params) {
  return request({
    url: '/getComUserList',
    method: 'GET',
    params
  })
}
/**
 * 获取企业下岗位
 * @param params
 * @returns {*}
 */
export function publishListApi(params) {
  return request({
    url: '/getComPublishList',
    method: 'GET',
    params
  })
}


/**
 * 编辑
 * @param params
 * @returns {*}
 */
export function editLivePortendApi(data) {
  return request({
    url: '/editLivePortend',
    method: 'POST',
    data
  })
}
/**
 * 根据ID查询
 * @param params
 * @returns {*}
 */
export function geLivePortendByIdApi(params) {
  return request({
    url: '/geLivePortendById',
    method: 'GET',
    params
  })
}
/**
 * 根据ID删除
 * @param params
 * @returns {*}
 */
export function deleteLivePortendApi(params) {
  return request({
    url: '/deleteLivePortend',
    method: 'POST',
    params
  })
}






